<% form_for :customer do |form| %>

  <fieldset>
  <legend>Enter Customer Details</legend>

  <%= error_messages_for 'customer' %>

  <%= render :partial => "customer_fields", :locals => {:form => form} %>

  <div class="form_row">
    <%= submit_tag "Add Customer!", :class => "submit" %>
  </div>

  </fieldset>

<% end %>

